package com.xxgc.demo.controller.pojo;


import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

@AllArgsConstructor
@NoArgsConstructor
@Data
public class SeatPOJO {
    //座位号
    private Integer seatNum;
    //座位名
    private String seatName;
    //座位类型
    private Integer seatType;
    //取号时间
    private Date takeSeatTime;

    //是否叫号
    private boolean isCall = false;
    //叫号时间
    private Date callTime;
    //等待桌
    private Integer waiting = 0;

    //取号时填写
    public SeatPOJO(Integer seatNum, String seatName, Integer seatType, Date takeSeatTime) {
        this.seatNum = seatNum;
        this.seatName = seatName;
        this.seatType = seatType;
        this.takeSeatTime = takeSeatTime;
    }
}
